
project (coship)

message(STATUS "begin compile ${PROJECT_NAME}lib.....!")

file(GLOB ${PROJECT_NAME}_src *.cpp)

set(oem_inc  ${oem_SOURCE_DIR})
set(poco_inc ${oem_SOURCE_DIR}/poco)
	     

include_directories(${driver_inc_SOURCE_DIR})
include_directories(${oem_inc})
include_directories(${poco_inc})

link_directories(${LIBRARY_OUTPUT_PATH})

add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_src})

set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS ${iguard_cxx_flags})

target_link_libraries(${PROJECT_NAME} driver)

message(STATUS "end compile ${PROJECT_NAME}lib!")



